Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output: Implement adaptive sync option #2058

Merged
merged 3 commits into from
Dec 26, 2023
Merged

output: Implement adaptive sync option #2058

merged 3 commits into from
Dec 26, 2023

Conversation

soreau
Copy link
Member

@soreau soreau commented Dec 8, 2023

Enable by setting [output:] vrr = true, or using a client like wlr-randr.

Fixes #1009.

@soreau soreau marked this pull request as draft December 8, 2023 03:09
@soreau soreau marked this pull request as ready for review December 8, 2023 12:44
Copy link
Member

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a whole LGTM, two small nitpicks.

src/core/output-layout.cpp Outdated Show resolved Hide resolved
src/core/output-layout.cpp Outdated Show resolved Hide resolved
Enable by setting [output:<NAME>] vrr = true, or using a client like wlr-randr.

Fixes #1009.
Copy link
Member

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just pushed a small commit to reduce duplicated logic, otherwise LGTM. Thanks!

@ammen99 ammen99 merged commit 641981d into master Dec 26, 2023
8 checks passed
@ammen99 ammen99 deleted the adaptive-sync-option branch December 26, 2023 10:13
mrsteve0924 pushed a commit to mrsteve0924/wayfire that referenced this pull request Mar 2, 2024
* output: Implement adaptive sync option

Enable by setting [output:<NAME>] vrr = true, or using a client like wlr-randr.

Fixes WayfireWM#1009.

* output-layout: remove duplicate VRR check

* use rollback instead of manually resetting state

---------
ammen99 pushed a commit that referenced this pull request Mar 13, 2024
* output: Implement adaptive sync option

Enable by setting [output:<NAME>] vrr = true, or using a client like wlr-randr.

Fixes #1009.

* output-layout: remove duplicate VRR check

* use rollback instead of manually resetting state

---------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for variable refresh rate / adaptive sync
2 participants